<!DOCTYPE HTML>
<html ng-app="fs.waf">
<head>
	<title>finshare</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<script type="text/javascript" src="waf/js/import.js"></script>
	<style type="text/css">
		html {
			display : none;
			visibility : hidden;
		}
	</style>
	<script language="javascript">
		if(self == top) {
			document.documentElement.style.display = 'block';
			document.documentElement.style.visibility = 'visible';
		} else {
			top.location = self.location;
		}
		
		// make 'Backspace' keyboard no work
		document.onkeypress = banBackSpace;
		document.onkeydown = banBackSpace;
		
		function banBackSpace(e){
		  var ev = e || window.event;
		  var obj = ev.relatedTarget || ev.srcElement || ev.target ||ev.currentTarget;
		  if(ev.keyCode == 8){
		    var tagName = obj.nodeName
		    if(tagName!='INPUT' && tagName!='TEXTAREA'){
		      return stopIt(ev);
		    }
		    var tagType = obj.type.toUpperCase();
		    if(tagName=='INPUT' && (tagType!='TEXT' && tagType!='TEXTAREA' && tagType!='PASSWORD')){
		      return stopIt(ev);
		    }
		    if((tagName=='INPUT' || tagName=='TEXTAREA') && (obj.readOnly==true || obj.disabled ==true)){
		      return stopIt(ev);
		    }
		  }
		}
		function stopIt(ev){
		  if(ev.preventDefault ){
		    ev.preventDefault();
		  }
		  if(ev.returnValue){
		    ev.returnValue = false;
		  }
		  return false;
		}
	</script>
</head>
<body class="app" ng-controller="mainController as mainCtrl">
	<div class="app-view" ng-class="{'left-menu':app.settings.leftMenu, 'login':app.settings.login}" ng-include="'waf/view/'+app.settings.theme+'/app.html'"></div>
	<div class="modal-container"></div>
</body>
</html>